<template>
     <div class="title-box">
      <div class="title-hot">
        <div class="Navigation-item"><router-link to="HotBooks" active-class="active"><span>热门书单</span></router-link></div>
        <div class="Navigation-item1"><span><router-link to="NewBooks" active-class="active">新书单</router-link></span></div>
      </div>
    </div>
</template>
<script>
export default {
  name: "MyHeader",
  methods: {
  } 
};
</script>

<style scoped>
.title-box {
  width: 100%;
  height: 48px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.title-hot {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 48px;
  background: rgb(255, 255, 255);
  border-bottom: 0.5px solid rgb(242, 242, 242);
}
.Navigation-item {
  color: rgb(51, 51, 51);
  cursor: default;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  position: relative;
  font-size: 16px;
}
.Navigation-item1  span{
  color: rgb(170, 170, 170);
  font-size: 16px;
}
.active{
  color: rgb(170, 170, 170);
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  border-bottom: 2px solid rgb(51, 51, 51);;
}
a {
  display: block;
  height: 48px;
  line-height: 48px;
  color: rgb(51, 51, 51);
  font-size: 16px;
}
</style>